package com.vehicle.contract.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vehicle.common.core.annotation.Excel;
import com.vehicle.common.core.web.domain.BaseEntity;

/**
 * 选择车辆对象 t_car
 *
 * @author Mr.阚
 * @date 2025-03-28
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 车辆签约状态 */
    @Excel(name = "车辆签约状态")
    private String carStatus;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCarName(String carName)
    {
        this.carName = carName;
    }

    public String getCarName()
    {
        return carName;
    }
    public void setCarStatus(String carStatus)
    {
        this.carStatus = carStatus;
    }

    public String getCarStatus()
    {
        return carStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carName", getCarName())
            .append("carStatus", getCarStatus())
            .toString();
    }
}
